package test.actor;

import java.math.BigInteger;

/**
 * @author liuyi
 * @date 2017/03/09 16:33
 */
public class Main {
    public static BigInteger factorial(int n) {
        BigInteger acc = BigInteger.ONE;
        for (int i = 1; i <= n; ++i) {
            acc = acc.multiply(BigInteger.valueOf(i));
        }
        return acc;
    }

    public static void main(String[] args) {
        System.out.println(factorial(200));
    }
}
